<template>
  <div>
    <span></span>
    <input type="text" v-model="title" @keydown.enter="add" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      title: "",
    };
  },
  methods: {
    add() {
      this.$emit("add", this.title);
    },
  },
  created() {},
  mounted() {},
  components: {},
  computed: {},
  watch: {},
};
</script>

<style lang="scss" scoped></style>
